yii\db\ActiveQueryInterface::asArray PHP Method

asArray() public method

Sets the [[asArray]] property.
public asArray ( boolean $value = true )
$value boolean whether to return the query results in terms of arrays instead of Active Records.
    public function asArray($value = true);