Returns an association object configured for the specified alias if any
public association ( string $name ) : Cake\ORM\Association | null | ||
$name | string | the alias used for the association. |
return | Cake\ORM\Association | null | Either the association or null. |