src/LightSaml/Model/Protocol/Response.php
public function getBearerAssertions()
    {
        $result = array();
        if ($this->getAllAssertions()) {
            foreach ($this->getAllAssertions() as $assertion) {
                if ($assertion->hasBearerSubject()) {
                    $result[] = $assertion;
                }
            } // foreach assertions
        }

        return $result;
    }
public function getBearerAssertions()
    {
        $result = array();
        if ($this->getAllAssertions()) {
            foreach ($this->getAllAssertions() as $assertion) {
                if ($assertion->hasBearerSubject()) {
                    $result[] = $assertion;
                }
            } // foreach assertions
        }

        return $result;
    }
Returns assertions with <AuthnStatement> and <Subject> with at least one <SubjectConfirmation>
element containing a Method of urn:oasis:names:tc:SAML:2.0:cm:bearer.

@return \LightSaml\Model\Assertion\Assertion[]